package com.ruoyi.test2.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资管理对象 materialtable
 * 
 * @author 22082112
 * @date 2025-07-08
 */
public class Materialtable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物资id */
    private Long supplyid;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String supplyname;

    /** 现有贮量 */
    @Excel(name = "现有贮量")
    private String current;

    /** 计量单位 */
    @Excel(name = "计量单位")
    private String unit;

    /** 仓库id */
    @Excel(name = "仓库id")
    private String warehouseid;

    /** 采购日期 */
    @Excel(name = "采购日期")
    private String caigoudata;

    /** 过期日期 */
    @Excel(name = "过期日期")
    private String lastdata;

    public void setSupplyid(Long supplyid) 
    {
        this.supplyid = supplyid;
    }

    public Long getSupplyid() 
    {
        return supplyid;
    }

    public void setSupplyname(String supplyname) 
    {
        this.supplyname = supplyname;
    }

    public String getSupplyname() 
    {
        return supplyname;
    }

    public void setCurrent(String current) 
    {
        this.current = current;
    }

    public String getCurrent() 
    {
        return current;
    }

    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }

    public void setWarehouseid(String warehouseid) 
    {
        this.warehouseid = warehouseid;
    }

    public String getWarehouseid() 
    {
        return warehouseid;
    }

    public void setCaigoudata(String caigoudata) 
    {
        this.caigoudata = caigoudata;
    }

    public String getCaigoudata() 
    {
        return caigoudata;
    }

    public void setLastdata(String lastdata) 
    {
        this.lastdata = lastdata;
    }

    public String getLastdata() 
    {
        return lastdata;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("supplyid", getSupplyid())
            .append("supplyname", getSupplyname())
            .append("current", getCurrent())
            .append("unit", getUnit())
            .append("warehouseid", getWarehouseid())
            .append("caigoudata", getCaigoudata())
            .append("lastdata", getLastdata())
            .toString();
    }
}
